package com.ra.service;

import com.ra.pojo.RespBean;
import com.ra.pojo.UserAuth;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ra.pojo.dto.PasswordDTO;
import com.ra.pojo.dto.UserDetailsDTO;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 今晚几点睡_Ada
 * @since 2023-03-09
 */
public interface IUserAuthService extends IService<UserAuth> {

    RespBean<?> login(String username, String password, HttpServletRequest request);

    UserDetailsDTO getUserByUserName(String username);


    RespBean<?> updateAdminPassword(PasswordDTO passwordDTO);
}
